//
//  Ticket.h
//  NiuBanJinGold
//
//  Created by Billy on 15/10/14.
//  Copyright © 2015年 zzjr. All rights reserved.
//

// 兑换和显示加息券列表共用model


#import <Foundation/Foundation.h>

typedef NS_ENUM(NSInteger ,TicketType) {

    TicketTypeYellow,   //黄色加息券 2
    TicketTypeBlue, //蓝色  1
    TicketTypeOrange, //橙色加息券 3
    TicketTypeRed //红色加息券 4
};

@interface Ticket : NSObject

@property (nonatomic, assign) TicketType  ticketType;
@property (nonatomic, copy) NSString *ticket_expiredDate; //有效期
@property (nonatomic, copy) NSString *ticket_number_period; //期限
@property (nonatomic, copy) NSString *ticket_number_value; //加了多少
@property (nonatomic, copy) NSString *ticket_number_id; //标识符号
@property (nonatomic, copy) NSString *ticket_couponStatus; //1:未使用 2: 已使用 3: 已过期

@property (nonatomic, copy) NSString *ticket_brief; //server 返回来的文案内容

@property (nonatomic, copy) NSString *ticket_exchangeScore; //兑换需要的分数

- (instancetype)initWithAttributes:(NSDictionary *)attributesDic ; 

- (instancetype)initExchangeTicketWithAttributes:(NSDictionary *)attributesDic ;

@end
